<ion-view view-title="发现">
    <ion-nav-buttons side="secondary">
        <button class="button button-clear">
            <i class="icon ion-ios-search"></i>
        </button>
        <button class="button button-clear">
            <i class="icon ion-ios-checkmark-outline"></i>
        </button>
        <button class="button button-clear">
            <i class="icon ion-ios-plus-outline"></i>
        </button>
    </ion-nav-buttons>
    <ion-content>
        <div class="list location-bar">
            <a class="item item-icon-left item-icon-right" href="#">
                <i class="icon ion-location"></i>
                <span>杭州</span>
                <i class="icon ion-ios-arrow-right"></i>
            </a>
        </div>
        <div class="category-box">
            <category-thumb ng-repeat="category in vm.categories" category="category"></category-thumb>
        </div>
        <div class="promotion-box">
            <promotion-thumb ng-repeat="promotion in vm.promotions" promotion="promotion"></promotion-thumb>
        </div>
        <div class="store-box">
            <ion-list>
                <div class="item item-divider" href="#">热门推荐</div>
                <ion-item class="store-item item-thumbnail-left" ng-repeat="store in vm.stores"
                          ng-click="vm.openStore(store);">
                </ion-item>
                <a class="item item-divider more" href="#">查看更多</a>
            </ion-list>
        </div>
    </ion-content>
</ion-view>
